#include "Protocol.hpp"
#include <iostream>

int main()
{

    Request req(10, 20, '-');

    std::string s;
    req.Serialize(s);

    std::cout << s << std::endl;

    req.Deserialize(s);

    std::cout << req.X() << std::endl;
    std::cout << req.Y() << std::endl;

    return 0;
}